package cn.lcsjsxy.yxc.listener;

import jakarta.servlet.http.HttpSessionActivationListener;
import jakarta.servlet.http.HttpSessionEvent;

public class MyActivationListener implements HttpSessionActivationListener {
    @Override
    public void sessionWillPassivate(HttpSessionEvent se) {
        //session对象即将进行钝化之前执行
    }

    @Override
    public void sessionDidActivate(HttpSessionEvent se) {
        //session活化完毕之后执行
    }
}
